home *** CD-ROM | disk | FTP | other *** search
- Path: hpp.Stanford.EDU!kpfleger
- From: kpfleger@hpp.Stanford.EDU (Karl Pfleger)
- Newsgroups: comp.lang.c++
- Subject: anyone got a good arbitrary-size integer class lying around
- Date: 29 Mar 1996 07:04:43 GMT
- Organization: Computer Science Department, Stanford University
- Distribution: world
- Message-ID: <4jg22b$5gs@nntp.Stanford.EDU>
- NNTP-Posting-Host: hpp.stanford.edu
-
- Anyone have a nice small relatively self-contained arbitrary-size integer
- class lying around? I'm imagining something that uses just 5 bytes (a pointer
- plus a character) for small enough integers and more memory for larger
- numbers. (I can't figoure out any way to do it in less memory for the small
- numbers cause you have to have the pointer, right?)
-
- -Karl
-
- ----------------------------------------------------------------------------
- Karl Pfleger kpfleger@cs.stanford.edu http://www.stanford.edu/~kpfleger/
- ----------------------------------------------------------------------------
-
-